package com.ruoyi.mobile.service;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.mobile.utils.NftResponse;
import com.ruoyi.mobile.utils.Paginator;
import com.ruoyi.system.api.req.ShOrderReq;
import com.ruoyi.system.api.resp.ShOrderResp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 订单信息Service接口
 * 
 * @author ruoyi
 * @date 2023-07-18
 */
public interface IShOrderService {
    public NftResponse<Paginator<ShOrderResp>> getOrderList(ShOrderReq query);
    public NftResponse<Paginator<ShOrderResp>> getOrderPayList(ShOrderReq query);
    public NftResponse<JSONObject> insertOrderInfos(List<ShOrderReq> queryList);
    public NftResponse<Boolean> updateOrderInfo(Long orderId);
    public NftResponse<Boolean> deleteOrderInfo(ShOrderReq query);
    public NftResponse<JSONObject> wxPayFunction(String appId, String fee, String tradeNo, Long userId) throws Exception;
    public NftResponse<String> wxpayNotify(HttpServletRequest request, HttpServletResponse response);
}
